package org.huntaway.kernel.mode.mediator.example1;

public abstract class Colleague {
	private Mediator mediator;  
    
    public Colleague(Mediator m){  
        mediator =  m;  
    }  
      
    public Mediator getMediator(){  
        return mediator;  
    }  
      
    public abstract void action();  
      
    public void change(){  
        mediator.colleagueChanged(this);  
    }  
}

  
 
